\hypertarget{extra_math_8h}{\section{C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/extra\-Math.h File Reference}
\label{extra_math_8h}\index{C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/extra\-Math.\-h@{C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/extra\-Math.\-h}}
}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespacemath}{math}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{extra_math_8h_a598a3330b3c21701223ee0ca14316eca}{P\-I}~3.\-1415926535897
\item 
\#define \hyperlink{extra_math_8h_a07484107e6d9fdf38b53edf631d6511d}{E}~2.\-718281828459
\item 
\#define \hyperlink{extra_math_8h_af719a85181e632c22c3b94b14a2f339e}{To\-Radian}(x)~(float)(((x) $\ast$ \hyperlink{extra_math_8h_a598a3330b3c21701223ee0ca14316eca}{P\-I} / 180.\-0f))
\item 
\#define \hyperlink{extra_math_8h_a52f95ffff945bc7d78286b09bbeeae24}{To\-Degree}(x)~(float)(((x) $\ast$ 180.\-0f / P\-I))
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_aa5460ad4dd234e36e7c9aaa81fde3ffd}{math\-::abs\-\_\-axel} (T x)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_a33422b0e90756f907008a7a43b6abf8c}{math\-::pos\-Dif\-\_\-axel} (T x, T y)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_ad0ff504eda9adad13b8954525ab62f7a}{math\-::max\-\_\-axel} (T x, T y)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_ad1e122f7b0581d490318e382e6942d9a}{math\-::min\-\_\-axel} (T x, T y)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_a17897985d2708545f1e988b973feb692}{math\-::copysign\-\_\-axel} (T x, T y)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_a4c417ab5cc36ca87a4378a4c68086719}{math\-::root\-\_\-axel} (T number, int degree)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_a201550fbdc01ce3a0914eb2ad7cbb2b8}{math\-::hypot\-\_\-axel} (T number, T next)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_a64136c6966877b83e8040a938477b2ca}{math\-::round\-\_\-axel} (T x)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_ae25b8d1e0afc429ff5a482165be85cfc}{math\-::roundup\-\_\-axel} (T x)
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{namespacemath_a3e0339743803e665b2dc58e86a7ee79f}{math\-::rounddown\-\_\-axel} (T x)
\item 
double \hyperlink{namespacemath_a36dff8b574630e29bbbe0e2c9068a4af}{math\-::exp\-\_\-axel} (int x)
\item 
double \hyperlink{namespacemath_a309da8f1e1437adfb4c937e3e16e52df}{math\-::exp2\-\_\-axel} (int x)
\item 
double \hyperlink{namespacemath_a28895ef6ba766326141e0f13a171b4f4}{math\-::power\-\_\-axel} (double base, double power)
\item 
double \hyperlink{namespacemath_aa7c256f3f5a4bb5e739062f7e07ec3dc}{math\-::faculty\-\_\-axel} (double x)
\item 
double \hyperlink{namespacemath_abebb0820558a617074db1c3dfdfb0fb0}{math\-::cosh\-\_\-axel} (double x)
\item 
double \hyperlink{namespacemath_a2ba3c1cb3648a8103e02ea76694447d1}{math\-::sinh\-\_\-axel} (double x)
\item 
double \hyperlink{namespacemath_a4debebac6f43afce8bd568cbc6eea54c}{math\-::tanh\-\_\-axel} (double x)
\item 
double \hyperlink{namespacemath_a17cbc235bd13d4cf03d23f8385c5eb14}{math\-::cos\-\_\-axel} (double x)
\item 
double \hyperlink{namespacemath_a767674863a96196fc201a2e0e83ebde8}{math\-::sin\-\_\-axel} (double x)
\item 
double \hyperlink{namespacemath_a48ae0345b3ad8a499637ae898311e3ae}{math\-::tan\-\_\-axel} (double x)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{extra_math_8h_a07484107e6d9fdf38b53edf631d6511d}{\index{extra\-Math.\-h@{extra\-Math.\-h}!E@{E}}
\index{E@{E}!extraMath.h@{extra\-Math.\-h}}
\subsubsection[{E}]{\setlength{\rightskip}{0pt plus 5cm}\#define E~2.\-718281828459}}\label{extra_math_8h_a07484107e6d9fdf38b53edf631d6511d}


Definition at line 14 of file extra\-Math.\-h.



Referenced by math\-::cosh\-\_\-axel(), math\-::exp\-\_\-axel(), math\-::sinh\-\_\-axel(), and math\-::tanh\-\_\-axel().

\hypertarget{extra_math_8h_a598a3330b3c21701223ee0ca14316eca}{\index{extra\-Math.\-h@{extra\-Math.\-h}!P\-I@{P\-I}}
\index{P\-I@{P\-I}!extraMath.h@{extra\-Math.\-h}}
\subsubsection[{P\-I}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-I~3.\-1415926535897}}\label{extra_math_8h_a598a3330b3c21701223ee0ca14316eca}


Definition at line 13 of file extra\-Math.\-h.



Referenced by render\-::draw\-Circle(), and render\-::draw\-Polygon().

\hypertarget{extra_math_8h_a52f95ffff945bc7d78286b09bbeeae24}{\index{extra\-Math.\-h@{extra\-Math.\-h}!To\-Degree@{To\-Degree}}
\index{To\-Degree@{To\-Degree}!extraMath.h@{extra\-Math.\-h}}
\subsubsection[{To\-Degree}]{\setlength{\rightskip}{0pt plus 5cm}\#define To\-Degree(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~(float)(((x) $\ast$ 180.\-0f / P\-I))}}\label{extra_math_8h_a52f95ffff945bc7d78286b09bbeeae24}


Definition at line 16 of file extra\-Math.\-h.

\hypertarget{extra_math_8h_af719a85181e632c22c3b94b14a2f339e}{\index{extra\-Math.\-h@{extra\-Math.\-h}!To\-Radian@{To\-Radian}}
\index{To\-Radian@{To\-Radian}!extraMath.h@{extra\-Math.\-h}}
\subsubsection[{To\-Radian}]{\setlength{\rightskip}{0pt plus 5cm}\#define To\-Radian(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~(float)(((x) $\ast$ {\bf P\-I} / 180.\-0f))}}\label{extra_math_8h_af719a85181e632c22c3b94b14a2f339e}


Definition at line 15 of file extra\-Math.\-h.



Referenced by Pipeline\-::\-Init\-Perspective\-Proj(), Transform\-::\-Init\-Perspective\-Proj(), Pipeline\-::\-Init\-Rotate\-Transform(), and Transform\-::\-Init\-Rotate\-Transform().

